package com.e3.basdoc.cust.client;

import com.e3.basdoc.cust.model.CustModel;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;
import com.e3.template.tgf.TGFRefDialog;
import com.e3.template.tgf.TGFTreePanelAsync;

public class CustRefDialog extends TGFRefDialog<CustModel> {

	@Override
	protected String getRefDialogTitle() {
		return CustMessages.INSTANCE.title_cust_refdialog();
	}

	@Override
	protected TGFGridPanel<CustModel> createGridPanel() {
		return new CustGridPanel();
	}

	@Override
	protected TGFTreePanelAsync<CustModel> createTreePanel() {
		return new CustTreePanel();
	}

	@Override
	protected TGFQueryDialog<CustModel> createQueryDialog() {
		return new CustQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return CustMessages.INSTANCE.local_name();
	}

}
